package com.xxzx.journalism.model.common;

import lombok.Data;

import java.io.Serializable;

@Data
public class ResultModel<T> implements Serializable {

    private Integer retcode;

    private String msg;

    private T data;

    public ResultModel() {
        this.setData(null);
        this.setRetcode(200);
        this.setMsg("success");
    }
}